package com.easy.west.westclient.api.push.api;

import com.easy.west.westclient.api.base.bean.SuccessBean;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * 推送服务
 * Created by xiatao on 2018/8/22.
 */

public interface PushService
{
    /**
     * 推送接口,无回执
     * @param notification_title
     * @param notification_alert
     * @param msg_content
     * @param extraskey
     * @param extrasvalue
     * @param alias
     * @return
     */
    @FormUrlEncoded
    @POST("jpushs/alias")
    Call<SuccessBean> push(@Field("notification_title") String notification_title,
                           @Field("notification_alert") String notification_alert,
                           @Field("msg_content") String msg_content,
                           @Field("extraskey") String extraskey,
                           @Field("extrasvalue") String extrasvalue,
                           @Field("alias") String...alias);
}
